<div class="box-body">
    <form class="layui-form" action="{:url('/cha/express/save')}" method="post">
        <div class="layui-form-item">
            <label class="layui-form-label xrequired">快递名称</label>
            <div class="layui-input-block">
                <input type="text" autocomplete="off" placeholder="快递名称"  name="logistics_name" {if isset($express)}value="{$express.logistics_name}"{/if} class="layui-input" />
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">官网</label>
            <div class="layui-input-block">
                <input type="text" autocomplete="off" placeholder="官网"  name="site" {if isset($express)}value="{$express.site}"{/if} class="layui-input" />
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">物流编号</label>
            <div class="layui-input-block">
                <input type="text" autocomplete="off" placeholder="例：快递100物流商编号"  name="track_code" {if isset($express)}value="{$express.track_code}"{/if} {if isset($express) && !empty($express.track_code)}disabled{/if} class="layui-input" />
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">提货时间</label>
            <div class="layui-input-block">
                <input type="text" autocomplete="off" placeholder="提货时间"  name="take_time" {if isset($express)}value="{$express.take_time}"{/if} class="layui-input" />
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">联系人</label>
            <div class="layui-input-block">
                <input type="text" autocomplete="off" placeholder="联系人"  name="contacts" {if isset($express)}value="{$express.contacts}"{/if} class="layui-input" />
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">联系电话</label>
            <div class="layui-input-block">
                <input type="text" autocomplete="off" placeholder="联系电话"  name="phone" {if isset($express)}value="{$express.phone}"{/if} class="layui-input" />
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">网点地址</label>
            <div class="layui-input-block">
                <input type="text" autocomplete="off" placeholder="网点地址"  name="address" {if isset($express)}value="{$express.address}"{/if} class="layui-input" />
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">排序</label>
            <div class="layui-input-block">
                <input type="number" autocomplete="off" placeholder="排序"  name="sort" {if isset($express)}value="{$express.sort}"{/if} class="layui-input" />
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">备注</label>
            <div class="layui-input-block">
                <input type="text" autocomplete="off" placeholder="备注"  name="remark" {if isset($express)}value="{$express.remark}"{/if} class="layui-input" />
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">状态</label>
            <div class="layui-input-block">
                <input type="checkbox" name="status" value="1" {if !isset($express) || (isset($express) && $express.status)}checked{/if} lay-skin="switch">
            </div>
        </div>
        {if isset($express)}
        <input type="hidden" name="express_id" value="{$express.express_id}">
        {/if}
    </form>
</div>